package com.hncc.dms.domain;

import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 非药品模版管理对象 dms_non_drug_model
 * 
 * @author ruoyi
 * @date 2020-08-23
 */
@ApiModel(value = "非药品模版管理实体")
public class DmsNonDrugModel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 模版编号 */
    @ApiModelProperty(value = "模版编号",required = false)
    @Excel(name = "模版编号")
    private Long id;

    /** 模版状态 0删除 1 正常 */
    @ApiModelProperty(value = "模版状态 0删除 1 正常",required = false)
    private Integer status;

    /** 模版名称 */
    @ApiModelProperty(value = "模版名称",required = false)
    @Excel(name = "模版名称")
    private String name;

    /** 模版所包括非药品的id */
    @ApiModelProperty(value = "模版所包括非药品的id",required = false)
    private String nonDrugIdList;

    /** 范围 */
    @ApiModelProperty(value = "范围",required = false)
    @Excel(name = "范围")
    private Integer scope;

    /** 所属人Id */
    @ApiModelProperty(value = "所属人Id",required = false)
    private Long ownId;

    /** 模板简介 */
    @ApiModelProperty(value = "模板简介",required = false)
    @Excel(name = "模板简介")
    private String aim;

    /** 模版编码 */
    @ApiModelProperty(value = "模版编码",required = false)
    @Excel(name = "模版编码")
    private String code;

    /** 模版类型 */
    @ApiModelProperty(value = "模版类型",required = false)
    @Excel(name = "模版类型")
    private Integer type;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setNonDrugIdList(String nonDrugIdList) 
    {
        this.nonDrugIdList = nonDrugIdList;
    }

    public String getNonDrugIdList() 
    {
        return nonDrugIdList;
    }
    public void setScope(Integer scope) 
    {
        this.scope = scope;
    }

    public Integer getScope() 
    {
        return scope;
    }
    public void setOwnId(Long ownId) 
    {
        this.ownId = ownId;
    }

    public Long getOwnId() 
    {
        return ownId;
    }
    public void setAim(String aim) 
    {
        this.aim = aim;
    }

    public String getAim() 
    {
        return aim;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("status", getStatus())
            .append("name", getName())
            .append("nonDrugIdList", getNonDrugIdList())
            .append("scope", getScope())
            .append("ownId", getOwnId())
            .append("aim", getAim())
            .append("createTime", getCreateTime())
            .append("code", getCode())
            .append("type", getType())
            .toString();
    }
}
